<template>
  <div id="galaxy" class="body">
    <div class="container">
      <div class="pink-shadow"></div>
        <div class="pink-planet">
          <div class="circles">
            <div class="circle" id="circle-1"></div>
            <div class="circle" id="circle-2"></div>
            <div class="circle" id="circle-3"></div>
            <div class="circle" id="circle-4"></div>
            <div class="circle" id="circle-5"></div>
            <div class="circle" id="circle-6"></div>
            <div class="circle" id="circle-7"></div>
          </div>
        </div>
        <div class="orbit"></div>
        <div class="blue-shadow"></div>
        <div class="blue-planet"></div>
        <div class="star-1"></div>
        <div class="star-2"></div>
      </div>
      <div class="small-stars">
        <div class="small-star" id="small-star-1"></div>
        <div class="small-star" id="small-star-2"></div>
        <div class="small-star" id="small-star-3"></div>
        <div class="small-star" id="small-star-4"></div>
        <div class="small-star" id="small-star-5"></div>
        <div class="small-star" id="small-star-6"></div>
      </div>
      <div class="white-gradient"></div>
    </div>
</template>
<script>
export default {
  name: "galaxy",
  data: () => ({

  })
}
</script>
<style lang="scss" scoped>
.body {
  height: 100vh;
  background-image: linear-gradient(-181deg, #181546 29%, #b24e88 100%);
  text-align: center;
}
.container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pink-planet {
  z-index: 1000;
  width: 268px;
  height: 268px;
  border-radius: 100%;
  background: #fa87bf;
  box-shadow: 0 2px 17px 7px rgba(242, 186, 198, 0.26);
}
.pink-shadow {
  z-index: 500;
  position: absolute;
  border-radius: 100%;
  box-shadow: inset -40px -40px 0px #f56cb2;
  width: 268px;
  height: 268px;
}
.blue-planet {
  top: 0;
  right: -100px;
  width: 68px;
  height: 68px;
  position: absolute;
  border-radius: 100%;
  background: #32C0D0;
  box-shadow: 0 2px 17px 7px rgba(50, 192, 208, 0.42);
  &:before {
    content: '';
    background: #52D0DE;
    border-radius: 100%;
    width: 12px;
    height: 12px;
    display: inline-block;
    margin: 10px 15px;
  }
}
.blue-shadow {
  z-index: 10000;
  top: 0;
  right: -100px;
  width: 68px;
  height: 68px;
  position: absolute;
  border-radius: 100%;
  box-shadow: inset -10px -10px 0px #28AEBE;
}
.white-gradient {
  z-index: -100;
  top: 50%;
  left: -20%;
  width: 150%;
  height: 640px;
  border-radius: 100%;
  opacity: 0.18;
  position: fixed;
  box-shadow: inset 0 1px 100px 100px rgba(255, 255, 255, 0.5);
}
.orbit {
  top: -65px;
  right: -95px;
  width: 399px;
  height: 399px;
  position: absolute;
  border-radius: 100%;
  opacity: 0.1;
  border: 3px solid #ffffff;
}
.circle {
  z-index: 10000;
  background: #FAA3DC;
  opacity: 0.5;
  position: absolute;
  border-radius: 100%;
}
#circle-1 {
  width: 76px;
  height: 76px;
  margin-top: 160px;
  margin-left: 45px;
}
#circle-2 {
  width: 50px;
  height: 50px;
  margin-top: 65px;
  margin-left: 130px;
  opacity: 0.6 !important;
}
#circle-3 {
  width: 12px;
  height: 12px;
  margin-top: 60px;
  margin-left: 200px;
  opacity: 1.0 !important;
}
#circle-4 {
  width: 24px;
  height: 24px;
  margin-top: 40px;
  margin-left: 90px;
  opacity: 1 !important;
}
#circle-5 {
  width: 12px;
  height: 12px;
  margin-top: 70px;
  margin-left: 45px;
  opacity: 1 !important;
}
#circle-6 {
  width: 24px;
  height: 24px;
  margin-top: 155px;
  margin-left: 190px;
  opacity: 0.46 !important;
}
#circle-7 {
  width: 24px;
  height: 24px;
  margin-top: 220px;
  margin-left: 150px;
  opacity: 0.3 !important;
}
.star-1 {
  z-index: 20000;
  width: 6px;
  height: 6px;
  position: absolute;
  margin-top: -190px;
  margin-left: -90px;
  animation: glitter 4.5s linear 0s infinite normal;
}
.star-2 {
  z-index:20000;
  width: 6px;
  height: 6px;
  position: absolute;
  margin-top: -90px;
  margin-left: 370px;
  animation: glitter 7s linear 0s infinite normal;
}
.star-1:before,
.star-1:after,
.star-2:before,
.star-2:after {
  content: "";
  position: absolute;
  background-color: white;
  display: block;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 5%;
  transform: rotate(66.66deg) skewX(45deg);
  width: 141.4213%;
}
.star-1:after,
.star-2:after {
  transform: rotate(156.66deg) skew(45deg);
}
@keyframes glitter {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  25% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  75% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.small-starts {
  width: 600px;
  height: 100vh;
  display: inline-block;
}
.small-star {
  z-index: 10000;
  background: #ffffff;
  opacity: 0.5;
  position: fixed;
  border-radius: 100%;
  width: 8px;
  height: 8px;
}
#small-star-1{
  margin-top: 50px;
  margin-left: 100px;
}
#small-star-2{
  margin-top: 45px;
  margin-left: 500px;
}
#small-star-3{
  margin-top: 350px;
  margin-left: 90px;
}
#small-star-4{
  margin-top: 420px;
  margin-left: 0;
}
#small-star-5{
  margin-top: 440px;
  margin-left: 520px;
}
#small-star-6{
  margin-top: 350px;
  margin-left: 630px;
}
</style>
